category.js Unexpected token error fixed on server