Purge javascript