Did a little cleanup of web code