fixed js requests