Fix #47 #48 - fix basePath bug, allow custom css