hopefully fixed js