Bugfix css

This pull contains only the bugfix for the CSS part of the getAttribute problem. It replaces href with getAttribute('href') to check with relative paths.