[fix] Inline form field id assigning logic

Also cleaned hanging spaces (empty lines full of spaces)

# Explanation
Previous logic:
```js
        if ($parentForm.length > 0 && elID.indexOf($parentForm.attr('id')) !== 0) {
           id = $parentForm.attr('id') + '-' + elID;
         }
```
This logic would work but checking on id containing another id doesn't seem transparent.

I propose 
```js
        if ($parentForm.hasClass('fresh')) {
           id = $parentForm.attr('id') + '-' + elID;
         }
```
which has clear case when we add parentID prefix