remove ant target, fix smaller dojo build issues

calling a bash script form ant would be pointless and the rhino javascript interpreter
of java breaks the build process from dojo.
also fix minor compatibility errors with the build tools.
rebuild javascript