Resolved bugs regards booleans/ones-and-zeros and differences between php and javascript versions of mustache engine