Messing with php

Changed how style sheet for embedded page works. .done and .fail
functions