see Description

created separated js and css files
some validation functions