Js fix alias

Aliases weren't correctly saving for works because the attribute was named in a non-standard fashion. This fixes that.