Taking out unnecessary JS, switching to PHP includes.