refs#31 fix js linty