Fix type of inline variables assignment that only works for firefox

Causes problems on every other browser than FF>15