Improved performance of _getMagicAddress. Fixed bug in _getStylesHashTable, HashMap was being cleared after adding the links and before adding the styles. Improved _getStylesHashTable to create HasTable with shorter keys to improve performance of HashTable.