Added GET query to js