fixing public_table generated js
Merge pull request #1520 from CartoDB/1519-public-pages-fix

fixing public_table generated js