Updated source to js file