update deps and move stylesheet to page header from script loaded