moved libraries and added css injection support