There are more needs for better separation between server side and browser side, the mixture of server side code and html code make things ugly.