Changed report header + fixed page titles + put JS in own file