Fix stylesheet/javascript functions render