Added license info and use strict to javascript.