update runtime js