Add Mario, generate shorter JS for integers, add bitwise ops

Sample from Phil and some updates to make it work nicely.