updated javascript references