Get rid of JS errors in eclipse