add javascript files for new shift APIs. IdleRequested is not complete yet