works better w/o javascript