adjusted indentation and rmeoved extra script tags