jquery Format Currency adapted for PHP Yii Framework