Exporting: Fixing extracting PhantomJs prerequisites from jar file fro JBoss, closes #2841