A mostly reasonable approach to JavaScript