JS testing without rails server