Separate frontend and backend JavaScript guidelines