javax added to maven, some minor errors fixed