Begin function that compile walley to javascript