[UI] formatting, layout etc

unable to run javascript from localhost, need to get it running!