js hacks :(