cleaned some code
added comment to clientScript to clarify that it's useless for now