Updated Awwcat Database JS

Basic loading from database now achieved - needs SERIOUS refinements

Signed-off-by: Matt Rayner <matt@mattrayner.co.uk>