Fix for strange js docpad (?) bug