move to external css file and add button style
move script to external file
improve style