Changed mysqli functions to use placeholders
Made a few queries more efficient
Added an include file for managing javascript files
Temporarily made index page the latest post