JS responce parsing for separate pages