lock thread, javascripts, more stuff