I am coding a data intense web app. So that means I cant be possibly doing any computations on sever- computation after every event involves huge data too large to be sent
Rather than using javascript for the client side logic, perhaps you could use an applet which was compiled from obfuscated java source code.