Styled page and converted to Javascript