Explanation of JS and CSS syntax in form 2