make javascript look a bit less like ruby