fix for #3

This version do not depends on javaCore. It will work in both scala and java play2framework versions.