Oh javascript how i love you so