moved js code to the html files,fixed postcode

the move is temporarily to show the functionalities during the
presentation