Adds JavaScript for cocoa styles that I'm using.