val defaultOptions = new CompilerOptions()
defaultOptions.closurePass = true
It seems that this topic has generated some interests, I wan't to point out that I couldn't reproduce this problem after upgrading to
play version 2.2.2. So I will be accepting this as a solution because it seems less hacky way to fix it.