change the core js of timeline