Fixed seg fault, added css/js