Fixed: took out inline JS, cleaned up code in general, renamed variables to include hyphens