fixing javascript more