fixed js, hopefully fixed loadtime further.