old javascript files now working