removed redundant code, and inconsistency.
made scripts for score insertion and css styles.