modified js code
added css