Move application.js to coffeescript for consistency.

Change-Id: I73d8471a9350447d7241aa01a80d05890abfbe0c