Rereference JS library