added assetPath method to groovy pages