Remove extra type 'jsasync' and detect async property automatically

like grunt-usemin does. Fix tests.