don't put the base jpa layer in javascript