How to Pass Variables from PHP to JavaScript Safely | CodeTrail