better background and cleaned up javascript