Adding jars and fixing js