Fixed typo in records_per_page
Switch from double quotes to single quotes where appropriate
Escape localized strings for maximum security.
Fix styling