Switch to grunt for building JavaScript