Security on an untrusted client - locking down a javascript library · HackerTrans