Services JS code under coding convention