Fix for PHP relative path problem
Move JavaScript to seperate file
Support for multiple libraries per page (many-to-many relationship)

Switch to prepared statements