Javadoc updates
Added possibility to use JavaScript