changed LICENSE from none to Apache 2
add Apache 2 license to java files
add LICENSE to javascript files