include scripts, styles; fix entityManager bean creation