js attribute manipulations