ios build from working js