updated javascript retenshee