I am learning WebSphere and want know if this is possible. I have hosted Java application using WebSphere but do not know if it is possible with other languages, particularly Javascript.
No, websphere application server doesn't have a server-side javascript programming model.
edit: @SpiderPig points out that (some) JVM's hava javascript interpreters in them that would be accessible in your Java EE code.