removed hardcoded stuff in favor of javascripts