html to php file, improved localStorage + loader