set source to js