javascript instead of java