fix markup and styles
move script into separated file.